using UnityEngine;
using System.Collections;

public class PlayerIdleState : State<PlayerControl>
{
    #region Singleton

    private static PlayerIdleState instance = new PlayerIdleState();
    public static PlayerIdleState Instance { get { return instance; } }
    private PlayerIdleState() { }

    #endregion
    
    #region State

    public override void OnEnter(PlayerControl behaviour)
    {
        behaviour.playerPrefab.animation.CrossFade(AnimationConstants.PLAYER_IDLE);
    }

    public override void OnUpdate(PlayerControl behaviour)
    {
    }

    public override void OnExit(PlayerControl behaviour)
    {
    }

    public override void OnAction(string name, PlayerControl behaviour, object value)
    {
    }

    #endregion
}
